-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix typos #36639
fix typos #36639
Conversation
OnkarRuikar
commented
Nov 4, 2024
- fix Weekly spelling check #36638
Preview URLs
(comment last updated: 2024-11-05 05:29:09) |
@@ -163,11 +165,11 @@ In the example below there is a checkbox and label. Let's say, you want the labe | |||
|
|||
## Adding hyphens | |||
|
|||
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard or soft break character into the string. A hard break (`‐`) will always break, even if it is not necessary to do so. A soft break (`­`) only breaks if breaking is needed. | |||
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (`-`) or soft break character (U+00AD) into the string. A soft break character can be added using `­`, `­`, or `­` HTML character codes as well. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the "hard break character" from ‐
(U+2010) to -
(U+002D). I have no idea which one is correct; @bsmth I think it's you?
Also for the Welsh name below feel free to add the parts of it to ignore-list
instead since it would never be confused with a valid word.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. U+2010
is the authentic hyphen, and U+002D
is ASCII minus/dash. But both seem to work without any difference.
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (`-`) or soft break character (U+00AD) into the string. A soft break character can be added using `­`, `­`, or `­` HTML character codes as well. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed. | |
To add hyphens when words are broken, use the CSS {{cssxref("hyphens")}} property. Using a value of `auto`, the browser is free to automatically break words at appropriate hyphenation points, following whatever rules it chooses. To have some control over the process, use a value of `manual`, then insert a hard (U+2010) or soft break character (U+00AD) into the string. A hard break character can be added using `‐` or `‐`, and a soft break character can be added using `­`, `­`, or `­` HTML character codes. A hard break will always break, even if it is not necessary to do so. A soft break only breaks if breaking is needed. |